package com.tyl.abstract抽象工厂模式;

import com.tyl.abstract抽象工厂模式.jk.IProductFactory;
import com.tyl.abstract抽象工厂模式.jk.IRouterProduct;
import com.tyl.abstract抽象工厂模式.jk.IphoneProduct;

public class HuaweiFactory implements IProductFactory {
    @Override
    public IphoneProduct iphoneProduct() {
        return new HuaweiPhone();
    }

    @Override
    public IRouterProduct irouterProduct() {
        return new HuaweiRouter();
    }
}
